package org.grayrabbit.commons.util.logging;

public interface Logger {
	void trace(String format, Object... args);
    void trace(String format, Throwable ex, Object... args);
    boolean isTraceEnabled();
    
    void debug(String format, Object... args);
    void debug(String format, Throwable ex, Object... args);
    boolean isDebugEnabled();
    
    void info(String format, Object... args);
    void info(String format, Throwable ex, Object... args);
    boolean isInfoEnabled();
    
    void warn(String format, Object... args);
    void warn(String format, Throwable ex, Object... args);
    boolean isWarnEnabled();
    
    void error(String format, Object... args);
    void error(String format, Throwable ex, Object... args);
    boolean isErrorEnabled();
    
    void fatal(String format, Object... args);
    void fatal(String format, Throwable ex, Object... args);
    boolean isFatalEnabled();
}
